﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace PASNew.UserControls
{
    public partial class dpEndDateUC : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void IEndDate_Click(object sender, ImageClickEventArgs e)
        {
            int boxCheck2;

            if (CalendarEndDate.Visible)
            {
                CalendarEndDate.Visible = false;
                boxCheck2 = 1;
            }
            else
            {
                CalendarEndDate.Visible = true;
                boxCheck2 = 1;
            }

            Boxes2dto inUse = new Boxes2dto
            {
                Box2 = boxCheck2,
            };

            Session["BoxCheck2"] = inUse;
        }
    }
}